/* 通用样式 */

html, body, div, h1, h2, h3, h4, h5, h6, p, dl, dt, dd, ol, ul, li, fieldset, form, label, input, legend, table, caption, tbody, tfoot, thead, tr, th, td, textarea, article, aside, audio, canvas, figure, footer, header, mark, menu, nav, section, time, video {
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: normal
}

article, aside, dialog, figure, footer, header, hgroup, nav, section, blockquote {
    display: block;
}

ul, ol {
    list-style: none;
}

img {
    border: 0 none;
    vertical-align: text-top;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

strong, em, i {
    font-style: normal;
    font-weight: normal;
}

ins {
    text-decoration: underline;
}

del {
    text-decoration: line-through;
}

mark {
    background: none;
}

input::-ms-clear {
    display: none !important;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    text-decoration: underline;
}

/* 加载loading 提示数据正在加载*/

.data-load {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .3);
    z-index: 100;
    display: none;
    text-align: center;
}

.data-load>div {
    position: absolute;
    top: 48%;
    left: 48%;
    width: 42px;
    height: 42px;
    background: url("../img/icon-loading.png") no-repeat;
    animation: loading 1s linear infinite;
    -moz-animation: loading 1s linear infinite;
    /* Safari 和 Chrome: */
    -webkit-animation: loading 1s linear infinite;
    /* Opera: */
    -o-animation: loading 1s linear infinite;
}

@keyframes loading {
    0% {
        transform: rotate(0deg)
    }
    50% {
        transform: rotate(180deg)
    }
    100% {
        transform: rotate(360deg)
    }
}

/* Firefox */

@-moz-keyframes loading {
    0% {
        transform: rotate(0deg)
    }
    50% {
        transform: rotate(180deg)
    }
    100% {
        transform: rotate(360deg)
    }
}

/* Safari 和 Chrome */

@-webkit-keyframes loading {
    0% {
        transform: rotate(0deg)
    }
    50% {
        transform: rotate(180deg)
    }
    100% {
        transform: rotate(360deg)
    }
}

/* Opera */

@-o-keyframes loading {
    0% {
        transform: rotate(0deg)
    }
    50% {
        transform: rotate(180deg)
    }
    100% {
        transform: rotate(360deg)
    }
}

html {
    width: 100%;
    height: 100%;
    font-size: 20px;
}

body {
    width: 100%;
    height: 100%;
    background-color: #01376C;
    /* background: url('../img/bg.png') no-repeat center; */
    /* background-size: 100% 100%; */
    color: #fff;
    overflow: hidden;
}

.container {
    height: 100%;
    width: 100%;
}

/* 头部 */

.top {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 15%;
}

.top .title {
    line-height: 4rem;
    letter-spacing: 1px;
    font-size: 1.5rem;
    font-weight: bolder;
}

.top .tab {
    display: flex;
    font-size: 0.9rem;
}

.top .tab .tab-item {
    padding: 0.1rem 0.4rem;
    margin-right: 1rem;
    cursor: pointer;
}

.top .tab .tab-item:last-child {
    margin-right: 0;
}

.top .tab .tab-item.active {
    color: #01376C;
    background-color: #fff;
    border-radius: 0.5rem;
}

/* 主体 */

.main {
    width: 100%;
    height: 84%;
    display: flex;
    flex-wrap: nowrap;
}

section {
    position: relative;
    box-sizing: border-box;
    border: 1px solid #027DB4;
}

.section-title {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 2rem;
    background-color: #01376C;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-weight: bolder;
}

/* 主体左侧 */

.main-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25%;
    height: 100%;
    padding-left: 1rem;
}

/* 用户登录分析 */

.login-analysis {
    width: 100%;
    height: 35%;
}

#login-analysis-chart {
    width: 100%;
    height: 100%;
}

/* 业务风险统计 */

.risk-statistic {
    width: 100%;
    height: 60%;
}

.risk-statistic-num {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 30%;
}

.risk-statistic-num .li-item {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin-top: 1.5rem;
}

.risk-statistic-num .li-item-top {
    display: flex;
    align-items: center;
}

.risk-statistic-num .li-item img {
    /* width: 30px;
    height: 38px; */
    margin-right: 0.2rem;
}

.risk-statistic-num .li-item .name {
    font-size: 0.7rem;
}

.risk-statistic-num .li-item .frequency {
    margin-top: 0.5rem;
    font-size: 0.6rem;
}

.risk-statistic-num .li-item .num {
    font-size: 1.5rem;
    font-weight: bolder;
}

#risk-statistic-chart {
    width: 100%;
    height: 70%;
}

/* 主体中部 */

.main-middle {
    width: 50%;
    height: 100%;
    padding: 0 1rem;
}

/* 业务办理统计 */

.map-container {
    width: 100%;
    height: 75%;
}

#map-chart {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.map-container .province-area {
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 40%;
    height: 50%;
    font-size: 0.75rem;
}

.province-area>div {
    margin-bottom: 1rem;
}

.province-area-bottom {
    display: flex;
    flex-wrap: nowrap;
}

.province-area-bottom .bottom-left {
    margin-right: 3rem;
}

.province-area img {
    width: 1rem;
    height: 1rem;
}

.province-area .title {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.province-area .num1 {
    font-size: 1.5rem;
    font-weight: bolder;
}

.province-area .num2 {
    font-size: 0.8rem;
}

.city-area {
    padding: 1rem;
    font-size: 0.8rem;
    background-color: #012E5B;
    border-radius: 1rem;
}

.city-area>p {
    margin-bottom: 0.5rem;
}

.city-area img {
    width: 1rem;
    height: 1rem;
}

.city-area .title {
    font-size: 1rem;
    font-weight: bolder;
    margin-bottom: 1rem;
}

.self-yellow {
    color: #F59A23;
}

.self-green {
    color: #70B603;
}

/* 业务办理趋势 */

.business-trend {
    width: 100%;
    height: 25%;
    border-top: none;
}

#business-trend-chart {
    width: 100%;
    height: 100%;
}

/* 主体右侧 */

.main-right {
    width: 25%;
    height: 100%;
    padding-right: 1rem;
}

/* 业务办理失败分析 */

.fail-business {
    width: 100%;
    height: 100%;
}

.fail-business .section-title {
    padding: 0 1.5rem;
}

#fail-unit-chart, #fail-business-chart {
    width: 100%;
    height: 50%;
}